from core.crud import DalBase
from crewplus.apps.rag.models.task import TaskDB
from crewplus.apps.rag.schemas.task import TaskSimpleOut

class TaskDal(DalBase):
    def __init__(self, db):
        super().__init__(db, TaskDB, TaskSimpleOut) 
        self.db = db
        self.model = TaskDB
        self.schema = TaskSimpleOut